<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html lang="en">
<head>
    <title>{% block title %}TASKize - Task Management{% endblock %}</title>
    <script src="{{MEDIA_URL}}javascript/jquery.js"></script>
    <script src="{{MEDIA_URL}}javascript/taskize.js"></script>
 	<link rel="stylesheet" href="{{MEDIA_URL}}css/screen.css" type="text/css" media="screen" charset="utf-8">
  	<!--[if lte IE 6]><link rel="stylesheet" href="{{MEDIA_URL}}css/ie6.css" type="text/css" media="screen" charset="utf-8"><![endif]-->
    {% block header %}{% endblock %}
    <script type="text/javascript">
    //<![CDATA[
        {% block javascript %}{% endblock %}
    //]]>
    </script>
</head>
<body class="tundra">
    <div id="header">
        <div id="sitetag">
 		    <h1>TASKize</h1>
        </div>
        <div id="userbadge">
            {% block badge %}
                {% if user.is_authenticated %}
                    Logged in as {{ user.username }}
                    &nbsp;|&nbsp;
                    <a href="{{WEB_ROOT}}account/signout/">Logout</a>
                {% else %}
                    <a href="{{WEB_ROOT}}account/signin/">Login</a>
                {% endif %}
            {% endblock %}
        </div>
    </div>


    <div id="content">
        {% block content %}{% endblock %}
    </div>


    <div id="footer">
        {% block footer %}
        {% endblock %}
    </div>
</body>
</html>